<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
	<link rel="Stylesheet" href="./css/bootstrap-responsive.min.css" />
	<link rel="stylesheet" href="css/questudy.css" />

	<script src="http://code.jquery.com/jquery.js"></script>
	<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
	<script src="js/study/quest.js"></script>
<title>Do feedBack</title>
</head>
<%
	int studyId = ((Integer)request.getAttribute("studyId")).intValue();
	int questId = ((Integer)request.getAttribute("questId")).intValue();
	int ansId = ((Integer)request.getAttribute("answerId")).intValue();
%>
<body>
	<jsp:include page="nav/nav_main.jsp"></jsp:include>
	<jsp:include page="nav/nav_study.jsp"></jsp:include>
	<div class="container firstDiv">
		<div class="col-md-6 col-md-offset-3">
			<form method="get" name="feedBackForm" action="NewAction.FeedBack?studyId=<%=studyId%>&questId=<%=questId%>&answerId=<%=ansId%>">
				<textarea class="form-control" name="content" rows="3" placeholder="피드백을 입력하세요"></textarea>
				<button type="button" class="btn btn-default" onclick="doFeedBack()">입력</button>
			</form>
			<p class="text-center text-warning" id="message"></p>
		</div>
	</div>

</body>
</html>